package com.atjinggu.jinggumail;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;


@EnableFeignClients
@EnableRedisHttpSession
@EnableRabbit
@SpringBootApplication
//@SpringBootApplication(exclude = {RedisAutoConfiguration.class})
//@ComponentScan(excludeFilters = @ComponentScan.Filter(type= FilterType.ASSIGNABLE_TYPE,classes = SessionConfig.class))
public class JinggumailOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(JinggumailOrderApplication.class, args);
    }

}
